import React from 'react'
import { RadioGroup, Button, Link,  Input, Switch, Checkbox } from '../../../ui-components'
import style from './style.dateTime'
import DatePicker from 'react-date-picker'
import 'react-date-picker/index.css'
import '../../../ui/date-picker.css'
import BaseEdit, { Base } from './BaseEdit'
import BasePreview from './BasePreview'

class Edit extends Base {
	render() {
		return (
			<BaseEdit {...this.props} update={::this.update}/>
		)
	}
}

class Preview extends React.Component {
	render() {
		return (
			<BasePreview>
				<DatePicker
					date={Date.now()}
					hideFooter
				/>
			</BasePreview>
		)
	}
}

export default {
	Edit,
	Preview
}
